Application of market mechanisms to democracy